//------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.42000 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace service.hdlcontrol.com_push { using System.Xml.Serialization; using System.Diagnostics; using System.Web.Services; using System.Web.Services.Protocols; using System.ComponentModel; using System; /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Web.Services.WebServiceBindingAttribute(Name="WebServicePushSoap", Namespace="http://tempuri.org/")] public partial class WebServicePush : System.Web.Services.Protocols.SoapHttpClientProtocol { private System.Threading.SendOrPostCallback JPushActionOperationCompleted; private System.Threading.SendOrPostCallback SendPushMessageOperationCompleted; private System.Threading.SendOrPostCallback DeviceManageOperationCompleted; private System.Threading.SendOrPostCallback ILiftAddRegIDOperationCompleted; private System.Threading.SendOrPostCallback AddMsgOperationCompleted; private System.Threading.SendOrPostCallback AddMsgAndUserIdOperationCompleted; private System.Threading.SendOrPostCallback DeleteToken_PushOperationCompleted; private System.Threading.SendOrPostCallback CleanMessageReordOperationCompleted; private System.Threading.SendOrPostCallback GetMsgListsOperationCompleted; private System.Threading.SendOrPostCallback ClearMessageByUserIdOperationCompleted; private System.Threading.SendOrPostCallback GetMessageListOperationCompleted; private System.Threading.SendOrPostCallback ClearMessageOperationCompleted; public VerifySoapHeader VerifySoapHeaderValue; private System.Threading.SendOrPostCallback AddRegIdOperationCompleted; private System.Threading.SendOrPostCallback MsgListOperationCompleted; /// CodeRemarks public WebServicePush() { this.Url = "http://service.hdlcontrol.com:8000/WebService/WebServicePush.asmx"; } public WebServicePush(string url) { this.Url = url; } /// CodeRemarks public event JPushActionCompletedEventHandler JPushActionCompleted; /// CodeRemarks public event SendPushMessageCompletedEventHandler SendPushMessageCompleted; /// CodeRemarks public event DeviceManageCompletedEventHandler DeviceManageCompleted; /// CodeRemarks public event ILiftAddRegIDCompletedEventHandler ILiftAddRegIDCompleted; /// CodeRemarks public event AddMsgCompletedEventHandler AddMsgCompleted; /// CodeRemarks public event AddMsgAndUserIdCompletedEventHandler AddMsgAndUserIdCompleted; /// CodeRemarks public event DeleteToken_PushCompletedEventHandler DeleteToken_PushCompleted; /// CodeRemarks public event CleanMessageReordCompletedEventHandler CleanMessageReordCompleted; /// CodeRemarks public event GetMsgListsCompletedEventHandler GetMsgListsCompleted; /// CodeRemarks public event ClearMessageByUserIdCompletedEventHandler ClearMessageByUserIdCompleted; /// CodeRemarks public event GetMessageListCompletedEventHandler GetMessageListCompleted; /// CodeRemarks public event ClearMessageCompletedEventHandler ClearMessageCompleted; /// CodeRemarks public event AddRegIdCompletedEventHandler AddRegIdCompleted; /// CodeRemarks public event MsgListCompletedEventHandler MsgListCompleted; /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/JPushAction", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public long JPushAction(string frame, string message, string alarm) { object[] results = this.Invoke("JPushAction", new object[] { frame, message, alarm}); return ((long)(results[0])); } /// CodeRemarks public void JPushActionAsync(string frame, string message, string alarm) { this.JPushActionAsync(frame, message, alarm, null); } /// CodeRemarks public void JPushActionAsync(string frame, string message, string alarm, object userState) { if ((this.JPushActionOperationCompleted == null)) { this.JPushActionOperationCompleted = new System.Threading.SendOrPostCallback(this.OnJPushActionOperationCompleted); } this.InvokeAsync("JPushAction", new object[] { frame, message, alarm}, this.JPushActionOperationCompleted, userState); } private void OnJPushActionOperationCompleted(object arg) { if ((this.JPushActionCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.JPushActionCompleted(this, new JPushActionCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/SendPushMessage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public long SendPushMessage(string frame, string message, string content, string alarm) { object[] results = this.Invoke("SendPushMessage", new object[] { frame, message, content, alarm}); return ((long)(results[0])); } /// CodeRemarks public void SendPushMessageAsync(string frame, string message, string content, string alarm) { this.SendPushMessageAsync(frame, message, content, alarm, null); } /// CodeRemarks public void SendPushMessageAsync(string frame, string message, string content, string alarm, object userState) { if ((this.SendPushMessageOperationCompleted == null)) { this.SendPushMessageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnSendPushMessageOperationCompleted); } this.InvokeAsync("SendPushMessage", new object[] { frame, message, content, alarm}, this.SendPushMessageOperationCompleted, userState); } private void OnSendPushMessageOperationCompleted(object arg) { if ((this.SendPushMessageCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.SendPushMessageCompleted(this, new SendPushMessageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeviceManage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public DeviceInfo[] DeviceManage() { object[] results = this.Invoke("DeviceManage", new object[0]); return ((DeviceInfo[])(results[0])); } /// CodeRemarks public void DeviceManageAsync() { this.DeviceManageAsync(null); } /// CodeRemarks public void DeviceManageAsync(object userState) { if ((this.DeviceManageOperationCompleted == null)) { this.DeviceManageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeviceManageOperationCompleted); } this.InvokeAsync("DeviceManage", new object[0], this.DeviceManageOperationCompleted, userState); } private void OnDeviceManageOperationCompleted(object arg) { if ((this.DeviceManageCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeviceManageCompleted(this, new DeviceManageCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ILiftAddRegID", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public string ILiftAddRegID(string RegId, string Alias, string Email, string UserMode) { object[] results = this.Invoke("ILiftAddRegID", new object[] { RegId, Alias, Email, UserMode}); return ((string)(results[0])); } /// CodeRemarks public void ILiftAddRegIDAsync(string RegId, string Alias, string Email, string UserMode) { this.ILiftAddRegIDAsync(RegId, Alias, Email, UserMode, null); } /// CodeRemarks public void ILiftAddRegIDAsync(string RegId, string Alias, string Email, string UserMode, object userState) { if ((this.ILiftAddRegIDOperationCompleted == null)) { this.ILiftAddRegIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnILiftAddRegIDOperationCompleted); } this.InvokeAsync("ILiftAddRegID", new object[] { RegId, Alias, Email, UserMode}, this.ILiftAddRegIDOperationCompleted, userState); } private void OnILiftAddRegIDOperationCompleted(object arg) { if ((this.ILiftAddRegIDCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ILiftAddRegIDCompleted(this, new ILiftAddRegIDCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddMsg", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int AddMsg(string regid, string msgtype, string msgcontent) { object[] results = this.Invoke("AddMsg", new object[] { regid, msgtype, msgcontent}); return ((int)(results[0])); } /// CodeRemarks public void AddMsgAsync(string regid, string msgtype, string msgcontent) { this.AddMsgAsync(regid, msgtype, msgcontent, null); } /// CodeRemarks public void AddMsgAsync(string regid, string msgtype, string msgcontent, object userState) { if ((this.AddMsgOperationCompleted == null)) { this.AddMsgOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMsgOperationCompleted); } this.InvokeAsync("AddMsg", new object[] { regid, msgtype, msgcontent}, this.AddMsgOperationCompleted, userState); } private void OnAddMsgOperationCompleted(object arg) { if ((this.AddMsgCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddMsgCompleted(this, new AddMsgCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddMsgAndUserId", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int AddMsgAndUserId(string regid, string msgtype, string msgcontent, int userId) { object[] results = this.Invoke("AddMsgAndUserId", new object[] { regid, msgtype, msgcontent, userId}); return ((int)(results[0])); } /// CodeRemarks public void AddMsgAndUserIdAsync(string regid, string msgtype, string msgcontent, int userId) { this.AddMsgAndUserIdAsync(regid, msgtype, msgcontent, userId, null); } /// CodeRemarks public void AddMsgAndUserIdAsync(string regid, string msgtype, string msgcontent, int userId, object userState) { if ((this.AddMsgAndUserIdOperationCompleted == null)) { this.AddMsgAndUserIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddMsgAndUserIdOperationCompleted); } this.InvokeAsync("AddMsgAndUserId", new object[] { regid, msgtype, msgcontent, userId}, this.AddMsgAndUserIdOperationCompleted, userState); } private void OnAddMsgAndUserIdOperationCompleted(object arg) { if ((this.AddMsgAndUserIdCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddMsgAndUserIdCompleted(this, new AddMsgAndUserIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/DeleteToken_Push", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int DeleteToken_Push(string regid) { object[] results = this.Invoke("DeleteToken_Push", new object[] { regid}); return ((int)(results[0])); } /// CodeRemarks public void DeleteToken_PushAsync(string regid) { this.DeleteToken_PushAsync(regid, null); } /// CodeRemarks public void DeleteToken_PushAsync(string regid, object userState) { if ((this.DeleteToken_PushOperationCompleted == null)) { this.DeleteToken_PushOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDeleteToken_PushOperationCompleted); } this.InvokeAsync("DeleteToken_Push", new object[] { regid}, this.DeleteToken_PushOperationCompleted, userState); } private void OnDeleteToken_PushOperationCompleted(object arg) { if ((this.DeleteToken_PushCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.DeleteToken_PushCompleted(this, new DeleteToken_PushCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/CleanMessageReord", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void CleanMessageReord(string regId) { this.Invoke("CleanMessageReord", new object[] { regId}); } /// CodeRemarks public void CleanMessageReordAsync(string regId) { this.CleanMessageReordAsync(regId, null); } /// CodeRemarks public void CleanMessageReordAsync(string regId, object userState) { if ((this.CleanMessageReordOperationCompleted == null)) { this.CleanMessageReordOperationCompleted = new System.Threading.SendOrPostCallback(this.OnCleanMessageReordOperationCompleted); } this.InvokeAsync("CleanMessageReord", new object[] { regId}, this.CleanMessageReordOperationCompleted, userState); } private void OnCleanMessageReordOperationCompleted(object arg) { if ((this.CleanMessageReordCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.CleanMessageReordCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMsgLists", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public MsgList[] GetMsgLists(int userId) { object[] results = this.Invoke("GetMsgLists", new object[] { userId}); return ((MsgList[])(results[0])); } /// CodeRemarks public void GetMsgListsAsync(int userId) { this.GetMsgListsAsync(userId, null); } /// CodeRemarks public void GetMsgListsAsync(int userId, object userState) { if ((this.GetMsgListsOperationCompleted == null)) { this.GetMsgListsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMsgListsOperationCompleted); } this.InvokeAsync("GetMsgLists", new object[] { userId}, this.GetMsgListsOperationCompleted, userState); } private void OnGetMsgListsOperationCompleted(object arg) { if ((this.GetMsgListsCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetMsgListsCompleted(this, new GetMsgListsCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ClearMessageByUserId", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void ClearMessageByUserId(int userId) { this.Invoke("ClearMessageByUserId", new object[] { userId}); } /// CodeRemarks public void ClearMessageByUserIdAsync(int userId) { this.ClearMessageByUserIdAsync(userId, null); } /// CodeRemarks public void ClearMessageByUserIdAsync(int userId, object userState) { if ((this.ClearMessageByUserIdOperationCompleted == null)) { this.ClearMessageByUserIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnClearMessageByUserIdOperationCompleted); } this.InvokeAsync("ClearMessageByUserId", new object[] { userId}, this.ClearMessageByUserIdOperationCompleted, userState); } private void OnClearMessageByUserIdOperationCompleted(object arg) { if ((this.ClearMessageByUserIdCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ClearMessageByUserIdCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/GetMessageList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public MsgList[] GetMessageList(int userId, string regId) { object[] results = this.Invoke("GetMessageList", new object[] { userId, regId}); return ((MsgList[])(results[0])); } /// CodeRemarks public void GetMessageListAsync(int userId, string regId) { this.GetMessageListAsync(userId, regId, null); } /// CodeRemarks public void GetMessageListAsync(int userId, string regId, object userState) { if ((this.GetMessageListOperationCompleted == null)) { this.GetMessageListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetMessageListOperationCompleted); } this.InvokeAsync("GetMessageList", new object[] { userId, regId}, this.GetMessageListOperationCompleted, userState); } private void OnGetMessageListOperationCompleted(object arg) { if ((this.GetMessageListCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.GetMessageListCompleted(this, new GetMessageListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/ClearMessage", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public void ClearMessage(int userId, string regId) { this.Invoke("ClearMessage", new object[] { userId, regId}); } /// CodeRemarks public void ClearMessageAsync(int userId, string regId) { this.ClearMessageAsync(userId, regId, null); } /// CodeRemarks public void ClearMessageAsync(int userId, string regId, object userState) { if ((this.ClearMessageOperationCompleted == null)) { this.ClearMessageOperationCompleted = new System.Threading.SendOrPostCallback(this.OnClearMessageOperationCompleted); } this.InvokeAsync("ClearMessage", new object[] { userId, regId}, this.ClearMessageOperationCompleted, userState); } private void OnClearMessageOperationCompleted(object arg) { if ((this.ClearMessageCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.ClearMessageCompleted(this, new System.ComponentModel.AsyncCompletedEventArgs(invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapHeaderAttribute("VerifySoapHeaderValue")] [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/AddRegId", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public int AddRegId(string RegId, string Alias) { object[] results = this.Invoke("AddRegId", new object[] { RegId, Alias}); return ((int)(results[0])); } /// CodeRemarks public void AddRegIdAsync(string RegId, string Alias) { this.AddRegIdAsync(RegId, Alias, null); } /// CodeRemarks public void AddRegIdAsync(string RegId, string Alias, object userState) { if ((this.AddRegIdOperationCompleted == null)) { this.AddRegIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddRegIdOperationCompleted); } this.InvokeAsync("AddRegId", new object[] { RegId, Alias}, this.AddRegIdOperationCompleted, userState); } private void OnAddRegIdOperationCompleted(object arg) { if ((this.AddRegIdCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.AddRegIdCompleted(this, new AddRegIdCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://tempuri.org/MsgList", RequestNamespace="http://tempuri.org/", ResponseNamespace="http://tempuri.org/", Use=System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped)] public MsgList[] MsgList(string regid) { object[] results = this.Invoke("MsgList", new object[] { regid}); return ((MsgList[])(results[0])); } /// CodeRemarks public void MsgListAsync(string regid) { this.MsgListAsync(regid, null); } /// CodeRemarks public void MsgListAsync(string regid, object userState) { if ((this.MsgListOperationCompleted == null)) { this.MsgListOperationCompleted = new System.Threading.SendOrPostCallback(this.OnMsgListOperationCompleted); } this.InvokeAsync("MsgList", new object[] { regid}, this.MsgListOperationCompleted, userState); } private void OnMsgListOperationCompleted(object arg) { if ((this.MsgListCompleted != null)) { System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg)); this.MsgListCompleted(this, new MsgListCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState)); } } /// CodeRemarks public new void CancelAsync(object userState) { base.CancelAsync(userState); } } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] [System.Xml.Serialization.XmlRootAttribute(Namespace="http://tempuri.org/", IsNullable=false)] public partial class VerifySoapHeader : System.Web.Services.Protocols.SoapHeader { /// public string Email; /// public int UserMode; /// [System.Xml.Serialization.XmlAnyAttributeAttribute()] public System.Xml.XmlAttribute[] AnyAttr; } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] public partial class MsgList { /// public long MsgID; /// public string Msg; /// public string MsgType; /// public System.DateTime MsgTime; } /// [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.SerializableAttribute()] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] [System.Xml.Serialization.XmlTypeAttribute(Namespace="http://tempuri.org/")] public partial class DeviceInfo { /// public string RegistrationID; /// public string[] Tag; /// public string Alias; } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void JPushActionCompletedEventHandler(object sender, JPushActionCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class JPushActionCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal JPushActionCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public long Result { get { this.RaiseExceptionIfNecessary(); return ((long)(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void SendPushMessageCompletedEventHandler(object sender, SendPushMessageCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class SendPushMessageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal SendPushMessageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public long Result { get { this.RaiseExceptionIfNecessary(); return ((long)(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void DeviceManageCompletedEventHandler(object sender, DeviceManageCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class DeviceManageCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal DeviceManageCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public DeviceInfo[] Result { get { this.RaiseExceptionIfNecessary(); return ((DeviceInfo[])(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void ILiftAddRegIDCompletedEventHandler(object sender, ILiftAddRegIDCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class ILiftAddRegIDCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal ILiftAddRegIDCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public string Result { get { this.RaiseExceptionIfNecessary(); return ((string)(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void AddMsgCompletedEventHandler(object sender, AddMsgCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class AddMsgCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal AddMsgCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void AddMsgAndUserIdCompletedEventHandler(object sender, AddMsgAndUserIdCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class AddMsgAndUserIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal AddMsgAndUserIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void DeleteToken_PushCompletedEventHandler(object sender, DeleteToken_PushCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class DeleteToken_PushCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal DeleteToken_PushCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void CleanMessageReordCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void GetMsgListsCompletedEventHandler(object sender, GetMsgListsCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetMsgListsCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetMsgListsCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public MsgList[] Result { get { this.RaiseExceptionIfNecessary(); return ((MsgList[])(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void ClearMessageByUserIdCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void GetMessageListCompletedEventHandler(object sender, GetMessageListCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class GetMessageListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal GetMessageListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public MsgList[] Result { get { this.RaiseExceptionIfNecessary(); return ((MsgList[])(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void ClearMessageCompletedEventHandler(object sender, System.ComponentModel.AsyncCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void AddRegIdCompletedEventHandler(object sender, AddRegIdCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class AddRegIdCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal AddRegIdCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public int Result { get { this.RaiseExceptionIfNecessary(); return ((int)(this.results[0])); } } } /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] public delegate void MsgListCompletedEventHandler(object sender, MsgListCompletedEventArgs e); /// CodeRemarks [System.CodeDom.Compiler.GeneratedCodeAttribute("XamarinStudio", "7.7.3.43")] [System.Diagnostics.DebuggerStepThroughAttribute()] [System.ComponentModel.DesignerCategoryAttribute("code")] public partial class MsgListCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs { private object[] results; internal MsgListCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) : base(exception, cancelled, userState) { this.results = results; } /// CodeRemarks public MsgList[] Result { get { this.RaiseExceptionIfNecessary(); return ((MsgList[])(this.results[0])); } } } }